package com.xxiongb.business.repository.entity;

import org.springframework.data.mongodb.core.mapping.Document;

//赠送码
@Document(collection="gold_code")
public class GoldCode {
	private String id;
	private boolean isUsed = false;//
	private long plusTime = 24 * 3600000 * 30;//默认30天
	
	public boolean isUsed() {
		return isUsed;
	}
	public void setUsed(boolean isUsed) {
		this.isUsed = isUsed;
	}
	public long getPlusTime() {
		return plusTime;
	}
	public void setPlusTime(long plusTime) {
		this.plusTime = plusTime;
	}
	public String getId() {
		return id;
	}
}
